﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using AMS.DataAccess;

namespace AMS.Business
{
    public class MailService
    {
        private readonly MailDAL mailDal = new MailDAL();

        public int CreateMail(string templateCode, string mailto, string mailcc, string[] oldstring, string[] newstring) 
        {
            return mailDal.CreateMail(templateCode, mailto, mailcc, oldstring, newstring);
        }
    }

}
